package com.example.demo.afterExtractor;

import com.example.demo.util.util;
import us.codecraft.webmagic.Page;
import us.codecraft.webmagic.model.AfterExtractor;

/**
 * @author Created by 陈淦彬
 * @date 2018/10/16
 */
public class MyAfterExtractor implements AfterExtractor {

    @Override
    public void afterProcess(Page page) {
        page.addTargetRequest(util.getRequest());
    }
}
